package com.showcai.service;

import com.github.pagehelper.PageInfo;
import com.showcai.module.Distributor;

import java.util.List;
import java.util.Map;

/**
 * Created by Baggio on 2018-7-31.
 */
public interface DistributorService {

    Distributor createDistributor(Distributor distributor);
    Distributor getDistributorById(Long id);

    PageInfo getDistributorList(Map<String, String> map);
    PageInfo distributorStatistics(Map<String, String> map);
    Map distributorStatisticsALl(Map<String, String> map);

    List<Distributor> selectDistributorList(Map<String, String> map);

    Distributor modifyDistributorInfo(Distributor distributor);

    Map<String, Object> getDistributionRequirements(String phone);
}
